import request from '@/utils/request'

// 查询物流企业信息列表
export function listLogisticsCompany(query) {
  return request({
    url: '/reportInfo/logisticsCompany/list',
    method: 'get',
    params: query
  })
}

// 查询物流企业信息详细
export function getLogisticsCompany(id) {
  return request({
    url: '/reportInfo/logisticsCompany/' + id,
    method: 'get'
  })
}

// 新增物流企业信息
export function addLogisticsCompany(data) {
  return request({
    url: '/reportInfo/logisticsCompany',
    method: 'post',
    data: data
  })
}

// 修改物流企业信息
export function updateLogisticsCompany(data) {
  return request({
    url: '/reportInfo/logisticsCompany',
    method: 'put',
    data: data
  })
}

// 删除物流企业信息
export function delLogisticsCompany(id) {
  return request({
    url: '/reportInfo/logisticsCompany/' + id,
    method: 'delete'
  })
}
